FROM java:8
VOLUME /tmp
ADD ./dean-order.jar /dean-order.jar
RUN bash -c 'touch /dean-order.jar'
EXPOSE 8002
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/dean-order.jar"]